#
# Makefile for misc devices that really don't fit anywhere else.
#

obj-y				+= product/
#obj-y				+= uiHalFile/
#obj-y				+= HPRF/
#obj-y				+= CrestCoreLinuxKernel/

obj-m := hprf.o

ccflags-y := \
  -Idrivers/crestron/CrestCore/inc/interface \
  -DDM_LINUX

hprf-y += \
  CrestCoreLinuxKernel/Src/dm_os.o \
  CrestCoreLinuxKernel/Src/dm_os_linux.o \
  CrestCoreLinuxKernel/Src/dm_console.o \
  CrestCoreLinuxKernel/Src/dm_gpio.o

ccflags-y := -Idrivers/crestron/HPRF/inc \
             -Idrivers/crestron/CrestCore/inc/interface \
             -Idrivers/crestron/CrestCoreLinuxKernel/Src \
             -Idrivers/char \
             -I../external/crestron \
             -DDM_LINUX -DOS_LINUX

hprf-y +=\
    HPRF/hprf_androidIntfc.o \
    HPRF/hprfgw_config.o \
    HPRF/smac_simple_phy.o \
    HPRF/smac_simple_mac.o \
    HPRF/smac_MC13192_hw_config.o \
    HPRF/smac_mcu_spi_config_linuxSpecific.o \
    HPRF/smac_mcu_hw_config_dmSpecific.o \
    HPRF/smac_drivers.o \
    HPRF/smac_app.o \
    HPRF/smac_802_15_4_shim.o \
    HPRF/hprfgw_rfRec.o \
    HPRF/hprfgw_rfTrans.o \
    HPRF/hprfgw_rfDesc.o \
    HPRF/hprfgw_rfHeartbeat.o \
    HPRF/hprfgw_rfRecMsg.o \
    HPRF/hprfgw_rfComLog.o \
    HPRF/hprfgw_rfResultCode.o \
    HPRF/hprfgw_rfRetry.o \
    HPRF/hprfgw_rfApp.o \
    HPRF/hprf_crc.o \
    HPRF/hprfgw_rfSlaveIntf.o \
    HPRF/hprfgw_rfSlaveIntf_dmSpecific.o \

